﻿using System.ComponentModel.Composition;
using System.Windows.Controls;
using Infrastructure.Behaviour;
using Infrastructure.Utility;
using ContractModule.ViewModel;

namespace ContractModule.View
{
    /// <summary>
    /// Interaction logic for ContractNavigation.xaml
    /// </summary>
    [ViewExport( RegionName = Constants.NavigatorRegion) ]
    [PartCreationPolicy( CreationPolicy.Shared )]
    public partial class ContractNavigation : UserControl
    {
        public ContractNavigation()
        {
            InitializeComponent();
        }

        [Import]
        public ContractNavigatorViewModel ContractNavigationVM
        {
            get { return this.DataContext as ContractNavigatorViewModel; }
            set { this.DataContext = value; }
        }
    }
}
 